package com.lnking.lnkingplace.model.dto.placeProblem;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class PlaceProblemDto {

    private String id;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "发现问题")
    private String problem;

    @ApiModelProperty(value = "整改措施")
    private String measure;

    @ApiModelProperty(value = "责任单位")
    private String responsibleDepartment;

    @ApiModelProperty(value = "责任人")
    private String responsiblePerson;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "整改时限")
    private String duration;

    @ApiModelProperty(value = "整改结果")
    private String result;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "发现问题时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate problemDiscoveryDate;

    @ApiModelProperty(value = "督导类型（上级督查、新区督导、专班自查）")
    private String examineType;

    @ApiModelProperty("场所名称")
    private String placeName;
}
